package org.vacoor.nothing.web.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * copy from spring data jpa
 */
public interface Auditable<U, ID extends Serializable> extends Idable<ID> {

    U getCreatedBy();

    void setCreatedBy(final U createdBy);

    Date getCreatedDate();

    void setCreatedDate(final Date creationDate);

    U getLastModifiedBy();

    void setLastModifiedBy(final U lastModifiedBy);

    Date getLastModifiedDate();

    void setLastModifiedDate(final Date lastModifiedDate);
}
